package com.pro;

import java.util.Hashtable;

public class Mystore {
	private static Hashtable fruitstore=new Hashtable<Integer,Myfruit>();
	
	public static void Add(Integer key,Myfruit fruit){
		fruitstore.put(key, fruit);
	}
	
	public static Myfruit Get(Integer key){
		Myfruit myfruit=(Myfruit) fruitstore.get(key);
		return (Myfruit) myfruit.clone();
	}
	

}
